package dto

type PreviewDialReq struct {
	Broadcast string `json:"broadcast" binding:"required"`
}

type PreviewDialResp struct {
	UID         string `json:"uid"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Cover       string `json:"cover"`
	Type        int    `json:"type"`
	Serial      int    `json:"serial"`
	Broadcast   string `json:"broadcast"`
}

type ListDialResp struct {
	ID          int    `json:"id"`
	UID         string `json:"uid"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Cover       string `json:"cover"`
	Type        int    `json:"type"`
	Serial      int    `json:"serial"`
	Broadcast   string `json:"broadcast"`
	CreateTime  string `json:"create_time"`
	UpdateTime  string `json:"update_time"`
}

type AddDialReq struct {
	UID         string `json:"uid"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Cover       string `json:"cover"`
	Type        int    `json:"type"`
	Serial      int    `json:"serial"`
	Broadcast   string `json:"broadcast"`
}

type UpdateDialReq struct {
	ID          int    `json:"id" binding:"required"`
	UID         string `json:"uid"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Cover       string `json:"cover"`
	Type        int    `json:"type"`
	Serial      int    `json:"serial"`
	Broadcast   string `json:"broadcast"`
}

type DeleteReq struct {
	ID int `json:"id" binding:"required"`
}
